package com.hebeu.gfh.service.impl;


import com.hebeu.gfh.pojo.po.User;
import com.hebeu.gfh.pojo.vo.appinfo;
import com.hebeu.gfh.service.tokenService;
import com.hebeu.gfh.utils.JwtUtil;
import com.hebeu.gfh.utils.RedisUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

@Service("tokenService")
public class tokenServiceImpl implements tokenService {

    @Autowired
    private RedisUtil redisUtil;

    @Override
    public String createToken(User user) {
        return null;
    }

    @Override
    public boolean checkToken(String token) {
        return JwtUtil.checkToken(token);
    }
}
